package com.wuax.mapper;

import com.wuax.domain.BookType;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface BookTypeMapper {

    List<BookType> select(BookType booktype);

    int selectCount(BookType bookType);

    int insert(BookType bookType);

    int update(BookType bookType);

    int delete(String bookTypeId);

    int batchDelete(@Param("bookTypeIds") List<String> bookTypeIds);
}
